package itheima.d02;

import java.io.FileInputStream;
import java.io.IOException;

//文件字符输入流的创建
public class test1 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("D:\\javabasepro\\java AdvanceProject\\day10\\src\\itheima\\d02\\akun.txt");
//        System.out.println(fis.read());
//        System.out.println(fis.read());
//        System.out.println(fis.read());
//        System.out.println(fis.read());
//        System.out.println(fis.read());

       byte[] bytes = fis.readAllBytes();
        System.out.println(new String(bytes));

        fis.close();


    }
}
